<?php

include(dirname(__FILE__).'/../../bootstrap/functional.php');

/* Was generated:
$browser = new sfTestFunctional(new sfBrowser());

$browser->
  get('/user/index')->

  with('request')->begin()->
    isParameter('module', 'user')->
    isParameter('action', 'index')->
  end()->

  with('response')->begin()->
    isStatusCode(200)->
    checkElement('body', '!/This is a temporary page/')->
  end()
;
*/



/*
$browser = new SimpleDocFlowTestFunctional(new sfBrowser());
$browser->info('2 - The File index page')->
  get('/')->
 
  info('  2.1 - Each file on the page is clickable and give detailed information')->
  click('sign in', array(), array('Username' => 'Admin@mail.ru', 'Password' => '1111'))->
  with('request')->begin()->
    isParameter('module', 'sfGuardAuth')->
    isParameter('action', 'signin')->
  end()
;

$browser->
  get('/')->
  click('sign in')->
  post('Username', array('keywords' => 'Admin@mail.ru'))->
  post('Password', array('keywords' => '1111'))
;
*/